import request from './api'
export function searchHistory (data) {
  // 拼团课程列表
  return request({
    url: '/Chat/chat/history',
    method: 'post',
    data
  })
}
export function searchList (data) {
  // 拼团课程列表
  return request({
    url: '/chat/chat/search_list',
    method: 'post',
    data
  })
}
export function searchPopularity (data) {
  // 拼团课程列表
  return request({
    url: '/chat/chat/search_popularity',
    method: 'post',
    data
  })
}
export function search (data) {
  // 拼团课程列表
  return request({
    url: 'Chat/chat/search',
    method: 'post',
    data
  })
}
